package com.gxa.p2p.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 投标记录表(Invest)实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Invest implements Serializable {
    
    private static final long serialVersionUID = -93327716741869221L;
    private Integer id;
    //实际年利率(应该是等同于标的的利率)
    private Double actualRate;
    //投标有效金额(就是投标金额)
    private Double availableAmount;
    //来自于哪个借款标
    private Integer bidRequestId;
    //标的名称（冗余数据）
    private String bidRequestTitle;
    //投标人
    private String bidUser;
    //投标时间
    private Date bidTime;
    //标的状态，应该和标的状态同步
    private Integer bidRequestState;
}